package singleton.lazy;

import java.io.Serializable;

public class SeriableSingleton implements Serializable{
	private SeriableSingleton() {
	}
	private static final SeriableSingleton HUNGRY_SINGLETON=new SeriableSingleton();
	public static SeriableSingleton getInstance() {
		return HUNGRY_SINGLETON;
	}
	private Object readResolve() {
		return HUNGRY_SINGLETON;
	}
}
